package com.github.duanyashu;

import java.util.Map;

/**
 * @description: excel数据导入错误封装对象
 * @author: duanyashu
 * @time: 2020-07-10 09:15
 */
public class ExcelImportErrDto<T> {

    private T errObj;

    private Map<Integer, String> cellMap = null;

    public ExcelImportErrDto() {
    }

    public ExcelImportErrDto(T errObj, Map<Integer, String> cellMap) {
        this.errObj = errObj;
        this.cellMap = cellMap;
    }

    @Override
    public String toString() {
        return "ExcelImportErrDto{" +
                "errObj=" + errObj +
                ", cellMap=" + cellMap +
                '}';
    }

    public T getErrObj() {
        return errObj;
    }

    public void setErrObj(T errObj) {
        this.errObj = errObj;
    }

    public Map<Integer, String> getCellMap() {
        return cellMap;
    }

    public void setCellMap(Map<Integer, String> cellMap) {
        this.cellMap = cellMap;
    }
}
